package com.haskie.user.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.haskie.api.dao.UserMapper;
import com.haskie.api.entity.User;
import com.haskie.user.service.IUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class UserServiceImpl implements IUserService {

    @Autowired
    UserMapper userMapper;

    @Override
    public User getAll(String id) {
        return userMapper.selectById(id);
    }
}
